Skip to content

Add primop backed versions of natural-number operations #1818

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 10, 2022

Conversation

Taneb
Copy link
Member

@Taneb Taneb commented Sep 13, 2022

One possible solution for #1427

I add versions of min, max, and dist that use primitive operations so they compile to fast code (hopefully - I admit I haven't checked this yet). I also add proofs that they match their recursively defined counterparts, and a proof about distance that I felt was missing.

@MatthewDaggitt
Copy link
Contributor

Sorry for taking so long to review this. Looks fine to me. Can you add a CHANGELOG entry?

@Taneb
Copy link
Member Author

Taneb commented Oct 6, 2022

Sure, I'll add a changelog entry in the next few days

@MatthewDaggitt MatthewDaggitt merged commit ff6bfd7 into agda:master Oct 10, 2022
@Taneb Taneb deleted the nat-more-primops branch October 11, 2022 06:09
@andreasabel andreasabel mentioned this pull request Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants